﻿using SqlSugar;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace WareHouse.Domain.ModelClass
{
    [SugarTable("Product")]
    public class Product
    {
        /// <summary>
        /// 产品主键
        /// </summary>
        [SugarColumn(IsPrimaryKey =true)]
        public int ProductId { get; set; }
        /// <summary>
        /// 产品名称
        /// </summary>
        public string ProductName { get; set; }
        /// <summary>
        /// 厂商编码
        /// </summary>
        public string FacturerCode { get; set; }
        /// <summary>
        /// 规格
        /// </summary>
        public string Specification { get; set; }
        /// <summary>
        /// 类别
        /// </summary>
        public long ProductTypeId { get; set; }
        /// <summary>
        /// 存储单位
        /// </summary>
        public string Unit { get; set; }
        /// <summary>
        /// 预警（下）
        /// </summary>
        public int MinWarn { get; set; }
        /// <summary>
        /// 预警（上）
        /// </summary>
        public int MaxWarn { get; set; }
        /// <summary>
        /// 包装类型
        /// </summary>
        public string PackType { get; set; }
        /// <summary>
        /// 价格
        /// </summary>
        public decimal Price { get; set; }
        /// <summary>
        /// 重量
        /// </summary>
        public decimal Weight { get; set; }
        /// <summary>
        /// 供应商
        /// </summary>
        public decimal Supplier { get; set; }
    }
}
